Skip to main content

Save Mail Attachments

AutomatR.Outlook.SaveMailAttachments

The "Save Mail Attachments" activity in AutomatR is part of the Outlook activities package, designed to save attachments from an email message in Microsoft Outlook to a specified location on the local system. This activity streamlines the process of extracting and storing email attachments for further use in automation workflows.

Properties

NameDescription
Input
Mail MessageSpecifies the email message (MailItem object) in Outlook from which you want to save the attachments.
Save LocationSpecifies the directory path where the attachments should be saved.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelayEnter the wait time in seconds (Example: 5 seconds, i.e., 5) to start the activity.

How to use:

  1. Drag and drop the "Save Mail Attachments" activity onto the workflow.
  2. Configure the properties by specifying the email message containing attachments and the directory path to save them.
  3. Optionally, configure the delay and customize the display name.
  4. Execute the workflow to save attachments from the specified email message to the designated local directory.

Example:

Consider an example where the "Save Mail Attachments" activity is used to save attachments from an inquiry email:

Save Mail Attachments:
Display Name: "Save Inquiry Attachments"
Mail Message: inquiryEmail
Save Location: "C:\Attachments\"

In this example, the activity saves attachments from the "inquiryEmail" to the "C:\Attachments\" directory. Adjust the example details according to your specific workflow requirements.